package com.song.bean;

import java.util.List;

public class Menu {
    private int menuId;
    private String menuName;
    private int fatherMenuId;
    private String url;
    private Integer menuState;
    private String remark;
    private List<Role> roles;
    private List<Menu> secondMenu;

    public Menu() {
    }

    public int getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public int getFatherMenuId() {
        return fatherMenuId;
    }

    public void setFatherMenuId(Integer fatherMenuId) {
        this.fatherMenuId = fatherMenuId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getMenuState() {
        return menuState;
    }

    public void setMenuState(Integer menuState) {
        this.menuState = menuState;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<Role> getRoles() {
        return roles;
    }

    public void setRoles(List<Role> roles) {
        this.roles = roles;
    }

    public List<Menu> getSecondMenu() {
        return secondMenu;
    }

    public void setSecondMenu(List<Menu> secondMenu) {
        this.secondMenu = secondMenu;
    }

    public Menu(int menuId, String menuName, int fatherMenuId, String url, Integer menuState, String remark, List<Role> roles, List<Menu> secondMenu) {
        this.menuId = menuId;
        this.menuName = menuName;
        this.fatherMenuId = fatherMenuId;
        this.url = url;
        this.menuState = menuState;
        this.remark = remark;
        this.roles = roles;
        this.secondMenu = secondMenu;
    }
}

